Skip to content

feat: add GitHub collector for AI readiness metrics - #2

Merged
Fsero merged 12 commits into
mainfrom
maiao.If73d315c01678cfc58348cd3f9698d57a5f49f26
Feb 4, 2026
Merged

Fsero merged 12 commits into
mainfrom
maiao.If73d315c01678cfc58348cd3f9698d57a5f49f26

Conversation

@Fsero

@Fsero Fsero commented Feb 2, 2026 •

Copy link
Copy Markdown
Contributor

Implement GitHub collector that scans repositories and
organizations to assess AI readiness indicators. Supports scanning
specific repositories, all user repositories, or all accessible
organizations with optional filtering. Includes organization-level
aggregation and detailed repository metadata collection.

Committer details Local-Branch: main

Fsero added 2 commits February 2, 2026 15:29
  Implement GitHub collector that scans repositories and
  organizations to assess AI readiness indicators. Supports scanning
  specific repositories, all user repositories, or all accessible
  organizations with optional filtering. Includes organization-level
  aggregation and detailed repository metadata collection.

Change-Id: If73d315c01678cfc58348cd3f9698d57a5f49f26
Comment thread pkg/collector/github.go Resolved
@Fsero
Fsero force-pushed the maiao.If73d315c01678cfc58348cd3f9698d57a5f49f26 branch from 85f2c96 to db585df Compare February 2, 2026 15:16
Comment thread pkg/collector/github.go
Comment on lines +147 to +158
if reposRaw, ok := cfg.Config["repositories"].([]interface{}); ok {
for i, repo := range reposRaw {
repoStr, ok := repo.(string)
if !ok {
return nil, fmt.Errorf("repository at index %d is not a string", i)
}
if !strings.Contains(repoStr, "/") {
return nil, fmt.Errorf("repository '%s' must be in format 'owner/repo'", repoStr)
}
repositories = append(repositories, repoStr)
}
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: if scallAllReps == true, we can skip this totally right?

Comment thread collector.example.yaml
- claude

# Pipeline 2: AI Readiness Metrics (no user filtering needed)
- collectors:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe I'm wrong but I don't see ai_indicators

@Fsero
Fsero merged commit b30d513 into main Feb 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants